package com.pattern.strategy.practice1;

/**
 * <p>
 *
 * </p>
 *
 * @author qingshan
 * @since 2021/3/30 4:53 下午
 */
public class Main {

    public static void main(String[] args) {
        Environment environment = new Environment(new AddStrategy());
//        Environment environment = new Environment(new SubtractStrategy());
        int calculate = environment.calculate(8, 5);
        System.out.println("Main.main : " + calculate);

    }
}
